package com.orange.wwwapi.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "ymiot")
@ConditionalOnProperty(prefix = "ymiot", name = "appid")
public class YmiotCarParkProperty {

    private String appid;

    private String appSecret;

    private String parkKey;

    private String version;

    private String parkName;
}
